<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>供应商平台</title>
</head>
<body class="tob-wrap">
	<div th:replace="common/top"></div>
	<article class="container container-c20-list clearfix">
		<div th:replace="common/left::c_side"></div>
		<section class="content">
			<h3 class="m-top-bar">
			</h3>
			<div class="m-order-bar">
				<p>
					<strong>招标处理列表</strong> 
					<select name="" id="">
						<option value="">全部招标议标</option>
					</select>
				</p>
			</div>
			<div class="m-table-sell" th:each="pipelineItem:${pipelineItems}">
				<div class="m-table-cont">
					<table width="100%" summay="" cellpadding="0" cellspacing="0">
						<thead>
							<tr>
								<th>序号</th>
								<th>描述</th>
								<th>数量</th>
								<th>单位</th>
								<th>性质</th>
								<th>招标截止时间</th>
								<th>讲标时间</th>
								<th>联系方式</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td th:text="${pipelineItemStat.count}">001</td>
								<td class="w150">
									<p th:text="${pipelineItem.bidDescription}">每行最多十二个字多了折行每行最多十二个字多了折行每行最多十二个字多了折行</p>
								</td>
								<td>999</td>
								<td>公斤</td>
								<td>
									<span class="status status-success" th:if="${pipelineItem.bidType eq 1}">招标</span>
									<span class="status status-success" th:if="${pipelineItem.bidType eq 2}">授予</span>
									<span class="status status-success" th:if="${pipelineItem.bidType eq 3}">议标</span>
									<span class="status status-success" th:if="${pipelineItem.bidType eq 4}">询价</span>
								</td>
								<td><span th:if="${pipelineItem.bidOpenTime ne null}" th:text="${#dates.format(pipelineItem.bidOpenTime, 'yyyy-MM-dd')}">2015-05-23<br />14:30
								</span></td>
								<td><span th:if="${pipelineItem.presentationTime ne null}" th:text="${#dates.format(pipelineItem.presentationTime, 'yyyy-MM-dd')}">2015-05-23<br />14:30
								</span></td>
								<td>
									<p>
										<span th:text="${pipelineItem.contactUser}">欧文贝克汉姆</span><br />
										<span th:text="${pipelineItem.contactPhone}">+86 13800138000</span><br />
										<span th:text="${pipelineItem.contactEmail}">abcdefg@163.com</span>
									</p>
								</td>
								<td><a class="btn btn-cyan" href="../client/prePipelinePublic.htm?pipeLineNo=123456">修改</a><br/><br/>
									<a th:href="@{'/client/prePipelineResult?pipelineId=' + ${pipelineItem.tPipelineHeader.id}}" th:if="${pipelineItem.accept ne true}">输入投标结果</a>
								</td>
								<!-- 中标信息列表 -->
								<tr th:each="pipelinePublic:${pipelineItem.tPipelineHeader.tPipelinePublics}" th:class="${pipelinePublic.finalWin eq true} ? 'tr-zb'">
									<td><i th:if="${pipelinePublic.finalWin eq true}" class="icon icon-zb"></i></td>
									<td colspan="3" class="w250 txL">
										<p th:text="${pipelinePublic.tVendor.tSupplier.companyName}">百度在线网络技术（北京）有限公司啊折行折行</p>
									</td>
									<td class="txL" colspan="3">
										<p>
								 			<span th:if="${pipelineItem.bidType ne 3}">投标金额: 
												   <strong class="orange" th:if="${pipelinePublic.bidPrice ne null}" th:text="${'￥'+ pipelinePublic.bidPrice}">￥0</strong>
												   <strong class="orange" th:if="${pipelinePublic.bidPrice eq null}" th:text="${'￥0'}">￥0</strong>
												  </span>
										</p>
									</td>
									<td class="txL">
										<p>
											<span th:if="${pipelineItem.bidType ne 3}">投标分数: 
													<span th:if="${pipelinePublic.compMark ne null}" th:text="${pipelinePublic.compMark}">0分</span>
											<i class="icon icon-info"></i>
											</span>
										</p>
									</td>
									<td class="td-special" rowspan="1">
										<a th:href="@{'/client/preCreateContract?pipelineId=' + ${pipelinePublic.tPipelineHeader.id}}" th:if="${pipelinePublic.finalWin eq true and pipelinePublic.createContract eq false}">创建采购合同</a>
										<!-- <a th:href="@{'/client/preCreateOrder.htm?purchaseOrderId=2'}" th:if="${pipelinePublic.finalWin eq true and pipelinePublic.createContract eq true}">创建订单</a> -->
									</td>
								</tr>
								
							</tr>
							
							<!-- <tr>
								<td></td>
								<td colspan="3" class="w250 txL">
									<p>杭州阿里巴巴网络技术信息有限公司</p>
								</td>
								<td class="txL" colspan="3">
									<p>
										投标金额: <strong class="orange">￥280000</strong>
									</p>
								</td>
								<td class="txL">
									<p>
										投标分数: <span>70分</span> <i class="icon icon-info"></i>
									</p>
								</td>
							</tr> -->
						</tbody>
					</table>
				</div>
			</div>


			<div class="m-table-sell" th:remove="all">
				<div class="m-table-cont">
					<table width="100%" summay="" cellpadding="0" cellspacing="0">
						<thead>
							<tr>
								<th>序号</th>
								<th>描述</th>
								<th>数量</th>
								<th>单位</th>
								<th>性质</th>
								<th>招标截止时间</th>
								<th>讲标时间</th>
								<th>联系方式</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>001</td>
								<td class="w150">
									<p>每行最多十二个字多了折行每行最多十二个字多了折行每行最多十二个字多了折行</p>
								</td>
								<td>999</td>
								<td>公斤</td>
								<td><span class="status status-success">招标</span></td>
								<td><span>2015-05-23<br />14:30
								</span></td>
								<td><span>2015-05-23<br />14:30
								</span></td>
								<td>
									<p>
										欧文贝克汉姆<br />+86 13800138000<br />abcdefg@163.com
									</p>
								</td>
								<td><a class="btn btn-orange" href="#">删除</a></td>
							</tr>
							<tr class="tr-zb">
								<td><i class="icon icon-zb"></i></td>
								<td colspan="3" class="w250 txL">
									<p>百度在线网络技术（北京）有限公司啊折行折行</p>
								</td>
								<td class="txL" colspan="3">
									<p>
										投标金额: <strong class="orange">￥360000</strong>
									</p>
								</td>
								<td class="txL">
									<p>
										投标分数: <span>100分</span> <i class="icon icon-info"></i>
									</p>
								</td>
								<td class="td-special" rowspan="3">
									<a href="../client/preCreateOrder.htm?pipelineId=1">创建采购合同</a> <br /> 
									<a href="../client/prePipelineResult.htm?pipelineId=1">输入投标结果</a>
								</td>
							</tr>
							<tr>
								<td></td>
								<td colspan="3" class="w250 txL">
									<p>杭州阿里巴巴网络技术信息有限公司</p>
								</td>
								<td class="txL" colspan="3">
									<p>
										投标金额: <strong class="orange">￥280000</strong>
									</p>
								</td>
								<td class="txL">
									<p>
										投标分数: <span>70分</span> <i class="icon icon-info"></i>
									</p>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</section>
	</article>
</body>
<script th:inline="javascript">
	//<![CDATA[
	      var errorMsg = /*[[${errorMsg}]]*/;
	      if(errorMsg){
	    	  alert(errorMsg);
	      }
		//]]>
</script>
<script data-main="../js/page/b1_supplier" src="../lib/requirejs/require.js"></script>
</html>